package com.nais.mapper;

import com.nais.domain.MainOrder;
import com.nais.domain.MainOrderCriteria;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MainOrderMapper {
    long countByExample(MainOrderCriteria example);

    int deleteByExample(MainOrderCriteria example);

    int deleteByPrimaryKey(Long id);

    int insert(MainOrder record);

    int insertSelective(MainOrder record);

    List<MainOrder> selectByExample(MainOrderCriteria example);

    MainOrder selectByPrimaryKey(Long id);
    
    MainOrder selectByPaymentSeq(String paymentSeq);

    int updateByExampleSelective(@Param("record") MainOrder record, @Param("example") MainOrderCriteria example);

    int updateByExample(@Param("record") MainOrder record, @Param("example") MainOrderCriteria example);

    int updateByPrimaryKeySelective(MainOrder record);

    int updateByPrimaryKey(MainOrder record);
}